package com.example.lottery_system.common.errorcode;

public interface ServiceErrorCodeConstants {
    // -------------人员模块错误码--------------
    ErrorCode REGISTER_INFO_IS_EMPTY = new ErrorCode(100,"注册信息为空");
    ErrorCode MAIL_ERROR = new ErrorCode(101,"邮箱错误");
    ErrorCode PHONE_NUMBER_ERROR = new ErrorCode(102,"手机号错误");
    ErrorCode IDENTITY_ERROR = new ErrorCode(103,"身份错误");
    ErrorCode PASSWORD_ERROR = new ErrorCode(104,"密码错误");
    ErrorCode PASSWORD_IS_EMPTY = new ErrorCode(105,"管理员密码为空");
    ErrorCode EMAIL_USED = new ErrorCode(106,"邮箱已被使用");
    ErrorCode PHONE_NUMBER_USED = new ErrorCode(107,"电话号码已经被使用");
    ErrorCode LOGIN_INFO_NOT_EXIST = new ErrorCode(108,"登录信息不存在");
    ErrorCode MAIL_OR_PHONE_ERROR = new ErrorCode(109,"邮箱或者电话号码错误");
    ErrorCode USER_NOT_EXIST = new ErrorCode(110,"用户不存在");
    ErrorCode VERIFICATION_CODE_ERROR = new ErrorCode(111,"验证码错误");
}
